package com.example.aiadmin;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.context.config.annotation.RefreshScope;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.scheduling.annotation.EnableAsync;
import org.springframework.scheduling.annotation.EnableScheduling;

@SpringBootApplication
@ComponentScan(value = {"com.example.aiadmin","com.example.xwcommon"})
@EnableDiscoveryClient
@EnableFeignClients("com.example.xwcommon.service")
@RefreshScope
@EnableScheduling
public class AiAdminApplication {

    public static void main(String[] args) {
        SpringApplication.run(AiAdminApplication.class, args);
    }

}
